package com.ourteam.system.service;

/**
*  
*  GenDate Mon Jan 09 15:07:50 CST 2012  
*  @model  interface="true"
*  @author Auto Generate	
*/
public interface ISysMessageResourceService  {

       
                                            
	/**
	 * 
	 	 
	 * @param aMessageResource
	 	 
	 * @model 
	 * @throws BusinessErrorException
	 * @throws Exception
	 */
	void addSysMessageResource(  final   com.ourteam.system.domain.MessageResource  aMessageResource) throws Exception;
	
	
                                            
	/**
	 * 
	 	 
	 * @param aMessageKey
	 	 
	 * @param aMessageValue
	 	 
	 * @param aLocal
	 	 
	 * @model 
	 * @throws BusinessErrorException
	 * @throws Exception
	 */
	void addSysMessageResource(  final   String  aMessageKey,  final   String  aMessageValue,  final   java.util.Locale  aLocal) throws Exception;
	
	
                                            
	/**
	 * 
	 	 
	 * @param aMessageKey
	 	 
	 * @model 
	 * @throws BusinessErrorException
	 * @throws Exception
	 */
	void deleteMessageResource(  final   String  aMessageKey) throws Exception;
	
	
                                            
	/**
	 * 
	 	 
	 * @param aMessagekey
	 	 
	 * @param aLocal
	 	 
	 * @model 
	 * @throws BusinessErrorException
	 * @throws Exception
	 */
	com.ourteam.system.domain.MessageResource getSysMessageResource(  final   String  aMessagekey,  final   String  aLocal) throws Exception;
	
	
                                            
	/**
	 * 
	 	 
	 * @model 
	 * @throws BusinessErrorException
	 * @throws Exception
	 */
	void initSysMessageResourceCache() throws Exception;
	
	
                                            
	/**
	 * 
	 	 
	 * @param aMessageResource
	 	 
	 * @model 
	 * @throws BusinessErrorException
	 * @throws Exception
	 */
	void updateMessageResource(  final   com.ourteam.system.domain.MessageResource  aMessageResource) throws Exception;
	
	
                                            
	/**
	 * 
	 	 
	 * @param aMessageKey
	 	 
	 * @param aMessageValue
	 	 
	 * @param aLocal
	 	 
	 * @model 
	 * @throws BusinessErrorException
	 * @throws Exception
	 */
	void updateMessageResource(  final   String  aMessageKey,  final   String  aMessageValue,  final   java.util.Locale  aLocal) throws Exception;
	
	
}